<?php
$this->widget('ext.pagetitle.PageTitle',array(
	'parts'=>array(Yii::t('frontend','Error')),
));

$this->breadcrumbs=array(
	Yii::t('frontend','Error'),
);
?>

<div class="site-error">
	<h1><?php echo Yii::t('frontend','Error'); ?> <?php echo $code; ?></h1>
	<p class="message"><?php echo Yii::t('frontend','An unexpected error occured.'); ?></p>
	<p class="bottom"><?php echo CHtml::link(Yii::t('frontend','Go to the front page'),Yii::app()->homeUrl); ?></p>
</div>